package com.qdu.service;

import java.util.List;

import com.qdu.entity.Structure;

public interface StructureService {

	Structure getStructureById(int strid);
	
	List<Structure> getStructureByCoursePlan(int cpid);
	
    List<Structure> getStructureByClassroom(int classrmid);
    
    List<Structure> getStructureByCoursePlanAndCycle(int cpid, int cycle);

	List<Structure> getStructureByClassroomAndCycle(int classrmid, int cycle);
	
	List<Structure> getAllStructure();
	
	boolean addStructure(Structure structure, int cpid, int classrmid);

	boolean modifyStructure(Structure structure, int cpid, int classrmid);

	boolean deleteStructureById(int strid);
}
